package HomeWork;

/**
 * @author 李孟琦
 * @version V1.0
 * @ProjectName:IntelliJ IDEA
 * @PackageName: HomeWork
 * @ClassName: Monster
 * @Description: TODO(这里用一句话描述这个类的作用)
 * @date 2019/9/29 17:14
 * @Copyright 李孟琦版板所有
 */
public class Monster {
    String name;
    double healthPoint;
    String type;

    public void show() {
        System.out.println("怪物类\n" + "我是怪物，我的基本信息如下:\n" + "名字:" + name + ",生命值:"
                + healthPoint + ",类型:" + type);
    }
}
